<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue/vue.js"></script>
</head>
<body>
<div id="app">
<!--原样输出属性值-->
{{msg}}
<!--使用html格式方式显示获取到的属性值-->
<div v-html="msg"></div>
</div>
<script>

    var app = new Vue({
        el:'#app',
        data:{
           msg:'<span style="color: red;">这是html格式内容</span>'

        }
    })
</script>
</body>
</html>